import request from '@/utils/request'

// 大屏
export function listDevs() {
    return request({
        url: '/business/screen/listDevs',
        method: 'get',
    })
}
//获取监控视频源地址
export function getMonitorUrl(deviceId) {
    return request({
        url: '/business/screen/monitor/'+deviceId,
        method: 'get',
    })
}
//获取稼动率三十日曲线
export function getUtilizeCurve() {
    return request({
        url: '/business/screen/utilizeCurve',
        method: 'get',
    })
}
//获取中间模块数据
export function getMiddle() {
    return request({
        url: '/business/screen/middle',
        method: 'get',
    })
}